import {
   Toast
} from 'vant'
import convert from '../service/convert_unit'

export default {
   data() {
      return {
         imgMaxSize: 6291456,
      }
   },
   methods: {
      oversize() {
         let size = convert.converCapacity(this.imgMaxSize);
         Toast(`图片大小不能超过` + size);
      },
   }
}